<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="lrsux" uri="http://lrsux.nxnkc.com" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Role Security Login Page</title>
	<lrsux:Resource name="lrsux" />
</head>
<body>
<h3>Welcome to The Role Security Login Page</h3>
<p>You must login to visit pages in our secure area</p>
<p style="color:red">${message}</p>
<form action="login/login!login.action" method="post">
    <table align="left" border="0" cellspacing="0" cellpadding="3">
        <tr>
            <td>Username:</td>
            <td><input type="text" name="user.username" maxlength="50" /></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td><input type="password" name="user.password" maxlength="50" /></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td><input type="text" name="user.email" maxlength="50" /></td>
        </tr>
        <tr>
            <td colspan="2" align="right"><input type="submit" name="submit" value="Login" /></td>
        </tr>
    </table>
    
     <div class="chknumber">
        <label>验证码
        <input name="kaptcha" type="text" id="kaptcha" maxlength="4" class="chknumber_input" />             
        </label>
         <img src="login/login!captchaImage.action" width="60" height="28" id="kaptchaImage"  style="margin-bottom: -3px"/> 
        <script type="text/javascript">    
         $(function(){  
             $('#kaptchaImage').click(function () {
            	 $(this).hide().attr('src', 'login/login!captchaImage.action?' + Math.floor(Math.random()*100) ).fadeIn(); })    
                   }); 
       
        </script> 
      </div>
   
</form>
<br clear="left" />
<p><a href='index.jsp'>Home</a></p>
<p><a href='login/sendMail.action'>forget password</a></p>
</body>
</html>




